
#include "input.h"
#include "Constants.h"
#include "HenningCamera.h"
#include "Henning_PID.h"

#ifndef _TURRET_H
#define _TURRET_H

class Turret {
	InputHandler *m_input;
	Camera *m_camera;
	Victor *m_aimTurret, *m_shooterImpulse, *m_belts;
public:
	Turret::Turret(InputHandler *input, Camera *camera);
	
	void Turret::Aim(float angle);
	void Turret::AimWithCamera();
	void Turret::AimCameraWithTurret();
	bool Turret::CanFire();
	void Turret::FireBall();
	void Turret::UnFireBall();
	void Turret::MoveBelts(int direction);
};

float GetOut2(float real, float target);

#endif
